import request from '@/utils/request'

/**
 * 上传文件
 *
 * @param { formData } formData
 *
 * @returns {Promise}
 */
export function uploadAPI(formData) {
  return request({
    url: '/upload',
    method: 'POST',
    data: formData
  })
}
